package com.moetube.user.dao;

import com.moetube.user.pojo.Collect;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface CollectMapper extends Mapper<Collect> {
    @Select("select * from collect where user_id=#{userId}")
    List<Collect> findCollectsByUserId(String userId);

}
